<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Embroidermodder: extern/libembroidery/src/formats/format_pes.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js", "TeX/AMSmath.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="logo_embroidermodder_2_0.png"/></td>
  <td id="projectalign">
   <div id="projectname">Embroidermodder<span id="projectnumber">&#160;2.0.0-alpha4</span>
   </div>
   <div id="projectbrief">A free and open source software for machine embroidery</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('format__pes_8c.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">format_pes.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &quot;<a class="el" href="embroidery__internal_8h_source.html">../embroidery_internal.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a21aba667fce5f4492d9ed1f418141a4f"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a21aba667fce5f4492d9ed1f418141a4f">readPes</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern, const char *fileName, FILE *file)</td></tr>
<tr class="separator:a21aba667fce5f4492d9ed1f418141a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff679f3398437d61646662fbd4bca061"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#aff679f3398437d61646662fbd4bca061">readDescriptions</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:aff679f3398437d61646662fbd4bca061"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80e9341e7b138005b46a14d192742d3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a80e9341e7b138005b46a14d192742d3e">readPESHeaderV5</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a80e9341e7b138005b46a14d192742d3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb553d48f0a3b12d87f298d084b56253"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#aeb553d48f0a3b12d87f298d084b56253">readPESHeaderV6</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:aeb553d48f0a3b12d87f298d084b56253"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18d87163e82fb0fdca61ea4ebe3ab21a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a18d87163e82fb0fdca61ea4ebe3ab21a">readPESHeaderV7</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a18d87163e82fb0fdca61ea4ebe3ab21a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02acda8d5a95508fa005c0d775ca42a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a02acda8d5a95508fa005c0d775ca42a0">readPESHeaderV8</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a02acda8d5a95508fa005c0d775ca42a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac302af7f4bb37d91d46e586d66cdde61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#ac302af7f4bb37d91d46e586d66cdde61">readPESHeaderV9</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:ac302af7f4bb37d91d46e586d66cdde61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6678c8d94b8da627da1df79854c738c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#aa6678c8d94b8da627da1df79854c738c">readPESHeaderV10</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:aa6678c8d94b8da627da1df79854c738c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8002a7b6d42d6d116f31943ea1f8d37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#ad8002a7b6d42d6d116f31943ea1f8d37">readHoopName</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:ad8002a7b6d42d6d116f31943ea1f8d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae47870c204671ff825f47b788c70cf3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#ae47870c204671ff825f47b788c70cf3e">readImageString</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:ae47870c204671ff825f47b788c70cf3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8d3fdac005d8603f800739d21fc20c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#ab8d3fdac005d8603f800739d21fc20c6">readProgrammableFills</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:ab8d3fdac005d8603f800739d21fc20c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84e2f3d90de6e0d818201914aa1eea0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a84e2f3d90de6e0d818201914aa1eea0d">readMotifPatterns</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a84e2f3d90de6e0d818201914aa1eea0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3a86c067644ce5f2e59c80ebae6f62e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#ae3a86c067644ce5f2e59c80ebae6f62e">readFeatherPatterns</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:ae3a86c067644ce5f2e59c80ebae6f62e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a364fddf45e198a6aa8333e5867af3cc8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a364fddf45e198a6aa8333e5867af3cc8">readThreads</a> (FILE *file, <a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern)</td></tr>
<tr class="separator:a364fddf45e198a6aa8333e5867af3cc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a084b69b38d9bb8f211f2899be34ff889"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a084b69b38d9bb8f211f2899be34ff889">pesWriteSewSegSection</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern, FILE *file)</td></tr>
<tr class="separator:a084b69b38d9bb8f211f2899be34ff889"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88da481ff6657c0809aeed0f35c33e3c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a88da481ff6657c0809aeed0f35c33e3c">pesWriteEmbOneSection</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern, FILE *file)</td></tr>
<tr class="separator:a88da481ff6657c0809aeed0f35c33e3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a192471952e0860eb0d9eedefffe6e5"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a8a192471952e0860eb0d9eedefffe6e5">writePes</a> (<a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *pattern, const char *fileName, FILE *file)</td></tr>
<tr class="separator:a8a192471952e0860eb0d9eedefffe6e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aaefcb92fcd9151d360eaa1c6cd654f70"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#aaefcb92fcd9151d360eaa1c6cd654f70">pes_version_strings</a> []</td></tr>
<tr class="separator:aaefcb92fcd9151d360eaa1c6cd654f70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62b3e1b23c769c2aa14a28db1b06a093"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="format__pes_8c.html#a62b3e1b23c769c2aa14a28db1b06a093">pes_version</a> = <a class="el" href="embroidery__internal_8h.html#ad8269e01d50147da8708bf28eb02cd5c">PES0001</a></td></tr>
<tr class="separator:a62b3e1b23c769c2aa14a28db1b06a093"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a88da481ff6657c0809aeed0f35c33e3c" name="a88da481ff6657c0809aeed0f35c33e3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88da481ff6657c0809aeed0f35c33e3c">&#9670;&nbsp;</a></span>pesWriteEmbOneSection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pesWriteEmbOneSection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a084b69b38d9bb8f211f2899be34ff889" name="a084b69b38d9bb8f211f2899be34ff889"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a084b69b38d9bb8f211f2899be34ff889">&#9670;&nbsp;</a></span>pesWriteSewSegSection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void pesWriteSewSegSection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aff679f3398437d61646662fbd4bca061" name="aff679f3398437d61646662fbd4bca061"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff679f3398437d61646662fbd4bca061">&#9670;&nbsp;</a></span>readDescriptions()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readDescriptions </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae3a86c067644ce5f2e59c80ebae6f62e" name="ae3a86c067644ce5f2e59c80ebae6f62e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3a86c067644ce5f2e59c80ebae6f62e">&#9670;&nbsp;</a></span>readFeatherPatterns()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readFeatherPatterns </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad8002a7b6d42d6d116f31943ea1f8d37" name="ad8002a7b6d42d6d116f31943ea1f8d37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8002a7b6d42d6d116f31943ea1f8d37">&#9670;&nbsp;</a></span>readHoopName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readHoopName </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae47870c204671ff825f47b788c70cf3e" name="ae47870c204671ff825f47b788c70cf3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae47870c204671ff825f47b788c70cf3e">&#9670;&nbsp;</a></span>readImageString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readImageString </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a84e2f3d90de6e0d818201914aa1eea0d" name="a84e2f3d90de6e0d818201914aa1eea0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84e2f3d90de6e0d818201914aa1eea0d">&#9670;&nbsp;</a></span>readMotifPatterns()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readMotifPatterns </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a21aba667fce5f4492d9ed1f418141a4f" name="a21aba667fce5f4492d9ed1f418141a4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21aba667fce5f4492d9ed1f418141a4f">&#9670;&nbsp;</a></span>readPes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char readPes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa6678c8d94b8da627da1df79854c738c" name="aa6678c8d94b8da627da1df79854c738c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6678c8d94b8da627da1df79854c738c">&#9670;&nbsp;</a></span>readPESHeaderV10()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readPESHeaderV10 </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a80e9341e7b138005b46a14d192742d3e" name="a80e9341e7b138005b46a14d192742d3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80e9341e7b138005b46a14d192742d3e">&#9670;&nbsp;</a></span>readPESHeaderV5()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readPESHeaderV5 </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aeb553d48f0a3b12d87f298d084b56253" name="aeb553d48f0a3b12d87f298d084b56253"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb553d48f0a3b12d87f298d084b56253">&#9670;&nbsp;</a></span>readPESHeaderV6()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readPESHeaderV6 </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a18d87163e82fb0fdca61ea4ebe3ab21a" name="a18d87163e82fb0fdca61ea4ebe3ab21a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18d87163e82fb0fdca61ea4ebe3ab21a">&#9670;&nbsp;</a></span>readPESHeaderV7()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readPESHeaderV7 </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a02acda8d5a95508fa005c0d775ca42a0" name="a02acda8d5a95508fa005c0d775ca42a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02acda8d5a95508fa005c0d775ca42a0">&#9670;&nbsp;</a></span>readPESHeaderV8()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readPESHeaderV8 </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac302af7f4bb37d91d46e586d66cdde61" name="ac302af7f4bb37d91d46e586d66cdde61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac302af7f4bb37d91d46e586d66cdde61">&#9670;&nbsp;</a></span>readPESHeaderV9()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readPESHeaderV9 </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab8d3fdac005d8603f800739d21fc20c6" name="ab8d3fdac005d8603f800739d21fc20c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8d3fdac005d8603f800739d21fc20c6">&#9670;&nbsp;</a></span>readProgrammableFills()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readProgrammableFills </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a364fddf45e198a6aa8333e5867af3cc8" name="a364fddf45e198a6aa8333e5867af3cc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a364fddf45e198a6aa8333e5867af3cc8">&#9670;&nbsp;</a></span>readThreads()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void readThreads </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8a192471952e0860eb0d9eedefffe6e5" name="a8a192471952e0860eb0d9eedefffe6e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a192471952e0860eb0d9eedefffe6e5">&#9670;&nbsp;</a></span>writePes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char writePes </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="embroidery_8h.html#a168c2ed6c7e17dd1aa7755aabc1db314">EmbPattern</a> *&#160;</td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a62b3e1b23c769c2aa14a28db1b06a093" name="a62b3e1b23c769c2aa14a28db1b06a093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62b3e1b23c769c2aa14a28db1b06a093">&#9670;&nbsp;</a></span>pes_version</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int pes_version = <a class="el" href="embroidery__internal_8h.html#ad8269e01d50147da8708bf28eb02cd5c">PES0001</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aaefcb92fcd9151d360eaa1c6cd654f70" name="aaefcb92fcd9151d360eaa1c6cd654f70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaefcb92fcd9151d360eaa1c6cd654f70">&#9670;&nbsp;</a></span>pes_version_strings</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* pes_version_strings[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    <span class="stringliteral">&quot;#PES0001&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0020&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0022&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0030&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0040&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0050&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0055&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0056&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0060&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0070&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0080&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0090&quot;</span>,</div>
<div class="line">    <span class="stringliteral">&quot;#PES0100&quot;</span>,</div>
<div class="line">}</div>
</div><!-- fragment --><h2><a class="anchor" id="Brother"></a>
Embroidery Format (.pec)</h2>
<p ><a id="aaefcb92fcd9151d360eaa1c6cd654f70_a130_pes" name="aaefcb92fcd9151d360eaa1c6cd654f70_a130_pes"></a> <a id="aaefcb92fcd9151d360eaa1c6cd654f70_a131_Brother" name="aaefcb92fcd9151d360eaa1c6cd654f70_a131_Brother"></a></p>
<p >The Brother pes format is stitch-only. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_dc9e1e299a0b26f222fe6c0a872463f0.html">extern</a></li><li class="navelem"><a class="el" href="dir_6a8aa8af2875e58e82a0145491f7a8e2.html">libembroidery</a></li><li class="navelem"><a class="el" href="dir_50a7dc5dba8160ac8332d90912e622db.html">src</a></li><li class="navelem"><a class="el" href="dir_7d0e9abc6dadcd976ab885d9ba0d632b.html">formats</a></li><li class="navelem"><a class="el" href="format__pes_8c.html">format_pes.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
  </ul>
</div>
</body>
</html>
